package com.zj.session;

import java.util.List;

public interface SqlSession {

    <T> List<T> selectList(String statementId ,Object ... params);
    <T> T selectOne(String statementId ,Object ... params);
    Integer insert(String statementId ,Object ... params);
    Integer update(String statementId ,Object ... params) throws Exception;
    Integer delete(String statementId ,Object ... params);
    <E> E getMapper(Class<E> eClass);
}
